package com.example.ffepeg.ffeAdder;

public class Word implements Runnable{
    private String text;
    private String id;

    public Word(String text,String id) {
        this.text = text;
        this.id = id;
    }

    public String getText() {
        return text;
    }
    public String getId(){
        return id;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Word{" +
                "text='" + text + '\'' +
                ", id='" + id + '\'' +
                '}';
    }

    @Override
    public void run() {
        System.out.println(text);
    }
}
